-
Notifications
You must be signed in to change notification settings - Fork 115
Add ubuntu ISO to CI #669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ubuntu ISO to CI #669
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables the building of Ubuntu ISOs in the CI/CD pipeline by uncommenting previously disabled workflow steps. It adds the Ubuntu unattended ISO build process, checksum calculation, and automated upload to the server alongside the existing Debian ISO workflow.
- Uncommented Ubuntu ISO build, checksum, and upload steps in the GitHub Actions workflow
- Added automated upload of Ubuntu unattended ISO and its checksum to the SSH server
- Integrated Ubuntu ISO processing into the existing release workflow
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
.github/workflows/release.yml
Outdated
| target: ${{ secrets.ISO_SSH_PATH }} | ||
| overwrite: true | ||
| env: | ||
| SHASUM_UBUNTU_UNATTENDED: ${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }} No newline at end of file |
Copilot
AI
Sep 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SHASUM_UBUNTU_UNATTENDED environment variable is removed from the 'Write release content' step but is still referenced in the 'Upload Ubuntu unattended to SSH server' step. This creates an inconsistency where the shasum is calculated but not included in the release content.
.github/workflows/release.yml
Outdated
| username: ${{ secrets.ISO_SSH_USER }} | ||
| key: ${{ secrets.ISO_SSH_PRIVATE_KEY }} | ||
| port: ${{ secrets.SSH_PORT }} | ||
| source: "SHASUM_UBUNTU_UNATTENDED|./images/Dappnode-*-ubuntu-*-unattended.iso" |
Copilot
AI
Sep 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The source parameter appears to reference 'SHASUM_UBUNTU_UNATTENDED' as a file path, but this is an environment variable containing the checksum value, not a file. The scp-action expects file paths in the source parameter.
Add build of ubuntu ISO unattended, calculate its shashum and upload both files to dappnode server